package progress.exa27_4;

import java.util.EnumMap;
import java.util.Map;

public class EnumMapStudy {
    public static void main(String[] args) {
        EnumMap<TestEnum, String> enumMap = new EnumMap<>(TestEnum.class);
        enumMap.put(TestEnum.ONE, "333");
        enumMap.put(TestEnum.ONE,"999");
        for (Map.Entry<TestEnum, String> entry : enumMap.entrySet()) {
            System.out.println(entry.getKey()+":"+entry.getValue());
        }
    }
}

enum TestEnum{
    ONE,TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT, NINE, TEN;
}
